﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Principal;
using System.ServiceModel;
using System.ServiceModel.Web;

namespace Skynet.BusinessLogic.BusinessComponents
{
    [ServiceContract]
    public interface IBCSecurityQueries 
    {
                
        bool Validate(string ApplicationName, string ActionName, IPrincipal Principal);


        [OperationContract]
        [WebGet(ResponseFormat = WebMessageFormat.Xml, BodyStyle= WebMessageBodyStyle.WrappedRequest)]        
        bool ValidateUsername(string ApplicationName, string ActionName, string UserName);

    }
}
